//
//  UIKit+Extension.swift
//  ChangJie
//
//  Created by RYX on 2018/11/29.
//  Copyright © 2018年 tuobu. All rights reserved.
//

import UIKit

extension UITableView{
    
    func hxc_registerCell(xibName:String,identifier:String) -> Void {
        
        let nib = UINib(nibName: xibName, bundle: nil)
        register(nib, forCellReuseIdentifier: identifier)
        
    }
    
    func hxc_dequeueReusableCell(indexPath:IndexPath,identifier:String) -> UITableViewCell {
        
        return dequeueReusableCell(withIdentifier: identifier, for: indexPath) 
    }
}
